using System;

namespace BTKERP.Model
{
	#region User
	/// <summary>
	/// This object represents the properties and methods of a User.
	/// </summary>
	[Serializable]
	public class User
	{
		protected string _password = String.Empty;
		protected string _displayName = String.Empty;
		protected Guid _roleID = Guid.Empty;
		protected int _status;
		protected DateTime _createdOn;
		protected string _createdBy = String.Empty;
		protected DateTime _updatedOn;
		protected string _updatedBy = String.Empty;
		protected bool _isDelete;
		
		public User()
		{
		}
		
		#region Public Properties
        public Guid UserID
        {
            get;
            set;
        }

        public string UserName
        {
            get;
            set;
        }

		public string Password
		{
			get {return _password;}
			set {_password = value;}
		}

		public string DisplayName
		{
			get {return _displayName;}
			set {_displayName = value;}
		}

		public Guid RoleID
		{
			get {return _roleID;}
			set {_roleID = value;}
		}

		public int Status
		{
			get {return _status;}
			set {_status = value;}
		}

		public DateTime CreatedOn
		{
			get {return _createdOn;}
			set {_createdOn = value;}
		}

		public string CreatedBy
		{
			get {return _createdBy;}
			set {_createdBy = value;}
		}

		public DateTime UpdatedOn
		{
			get {return _updatedOn;}
			set {_updatedOn = value;}
		}

		public string UpdatedBy
		{
			get {return _updatedBy;}
			set {_updatedBy = value;}
		}

		public bool IsDelete
		{
			get {return _isDelete;}
			set {_isDelete = value;}
		}
		#endregion
		
	}
	#endregion
}
